package com.cn.wx.tread;

/**
 * 售票系统
 */
public class TicketSystem {
    public static void main(String[] args) {
        Tickets tickets = new Tickets();

//        while (tickets.list.size() > 0) {
//        TreadOne treadOne = new TreadOne("窗口1", tickets);
//        TreadOne treadOne2 = new TreadOne("窗口2", tickets);
//        TreadOne treadOne3 = new TreadOne("窗口3", tickets);
//            TreadTwo treadTwo = new TreadTwo(tickets);
//            TreadThree treadThree = new TreadThree(tickets);
//        treadOne.start();
//        treadOne2.start();
//        treadOne3.start();
//            treadTwo.start();
//            treadThree.start();
//        }
    }

}
